package com.hwadee.ems.service.impl;

import jakarta.annotation.PostConstruct;

import org.springframework.stereotype.Service;

import com.hwadee.ems.domain.po.Semester;
import com.hwadee.ems.mapper.SemesterMapper;
import com.hwadee.ems.service.ISemesterService;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * <p>
 * 学期 服务实现类
 * </p>
 *
 * @author EnosElinsa
 * @since 2024/06/21
 */
@Service
public class SemesterServiceImpl extends ServiceImpl<SemesterMapper, Semester> implements ISemesterService {

    private static ISemesterService instance;

    public static ISemesterService getInstance() {
        return instance;
    }

    @PostConstruct
    void init() {
        instance = this;
    }
    
}
